package com.mxpio.erp.common.enums;

public interface OaEnums {

    //OaInvoice 请款单
    enum OrderStatus { //请款单，报销单的工单状态
        NEW("10", "新增"), UNDER_REVIEW("20", "审核中"), DONE("30", "已完成"), CLOSED("40", "已关闭");

        OrderStatus(String code, String desc) {
            this.code = code;
            this.desc = desc;
        }

        private String code;
        private String desc;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }
    }

    enum RfType { //请款方式
        CASH("10", "现金"), TRANSFERS("20", "转支"), DRAFT("30", "汇票");

        RfType(String code, String desc) {
            this.code = code;
            this.desc = desc;
        }

        private String code;
        private String desc;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }
    }

}
